package com.spatialkey.datapoller;

/**
 * Copyright (c) 2009 Universal Mind, Inc.
 * @author Anthony McClure
 * Date: May 8, 2009
 * Time: 10:31:36 AM
 *
 */
public interface IScheduledPollingTask {
	
	String getTaskType();
	
	void setTaskType(String taskType);
	
	String getScheduleType();
	
	void setScheduleType(String scheduleType);
	
	String getCronExpression();
	
	void setCronExpression(String cronExpression);
	
	String getRunAtStartup();
	
	void setRunAtStartup(String runAtStartup);
	
    /**
     * interval getter.
     * 
     * @return	The interval in milliseconds between runs.
     */
    long getInterval();    

    /**
     * executionHour setter.
     * 
     * @param interval		The interval in milliseconds between runs.
     */
    void setInterval(long interval);
    
}
